package com.xandone.wcdog.service;


import com.xandone.wcdog.pojo.*;
import com.xandone.wcdog.pojo.Base.BaseListResult;

import java.util.List;
import java.util.Map;

/**
 * @author ：xandone
 * created on  ：2019/1/15 22:30
 * description：
 */
public interface VideoService {

    VideoBean addVideo(Map<String, String> map) throws Exception;

    BaseListResult getAllVideo(Integer page, Integer row, Integer tag) throws Exception;

    void deleteVideoById(String videoId) throws Exception;

    void deleteVideoByList(List<String> videoIds) throws Exception;

    void addVideoComment(VideoCommentBean bean) throws Exception;

    BaseListResult getAllVideoCommentById(Integer page, Integer row, String videoId) throws Exception;

    void deleteCommentList(List<String> commentsId) throws Exception;

    void deleteCommentByVideoId(String videoId) throws Exception;

    void thumbsVideo(String videoId, String userId) throws Exception;

    void collectsVideo(String videoId, String userId) throws Exception;

    List<VideoLikeBean> selectVideoLikeById(String videoId) throws Exception;

    void changeVideoLikeCount(Map<String, Object> map) throws Exception;

    void changeVideoCollectCount(Map<String, Object> map) throws Exception;

    BaseListResult getUserSelfVideos(Integer page, Integer row, String userId) throws Exception;

    BaseListResult getVideoLikeByUserId(Integer page, Integer row, String videoId) throws Exception;

    BaseListResult getVideoCollectByUserId(Integer page, Integer row, String videoId) throws Exception;


    VideoBean getVideoById(String videoId) throws Exception;


    BaseListResult getVideoListFog(Integer page, Integer row, String key) throws Exception;

    BaseListResult searchVideoList(Integer page, Integer row, VideoBean videoBean) throws Exception;

}
